
//----------------------------------------------------------------
// Copyright (C) 2009 上海EZCRS
// 版权所有。 
// All rights reserved.

// 文件名：MsgSendTaskBean.cs
// 文件功能描述：消息发送任务
// 
// 
// 创建标识： kevin  2009-6-5 14:38:34
//
// 修改标识：
// 修改描述：
//----------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Strive.Util.Text;
using Strive.Util.Logging;
using Strive.Core.Validations;
using Strive.Core.Service;
using Strive.Core.Translators;
using Strive.Util.Maths;
using Strive.Reflection;
using Strive.Aspects;
using Strive.DataAccess;
using OTA.Notification.Entity;
using OTA.Notification.Entity.Send;

namespace OTA.Notification.Entity.Send
{
    /// <summary>
    ///消息发送任务表[MSG_SEND_TASK]实体类
    ///对应表名:MSG_SEND_TASK
    /// </summary>
    [Serializable]
	[Table(Name = "MSG_SEND_TASK")]
    public class MsgSendTaskBean
    {
        
        #region Private 成员
        private int _msg_task_id=0; 
        private string _receiver_really_account=String.Empty; 
        private string _msg_send_type=String.Empty; 
        private int _task_status=0; 
        private int _task_really_status=0; 
        private int _rule_config_seq=0; 
        private string _successed_flag=String.Empty; 
        private string _failed_falg=String.Empty; 
        private string _need_flag=String.Empty; 
        private string _msg_title=String.Empty; 
        private string _msg_content=String.Empty;   

        #endregion
  
        
        #region Public 成员
   
        /// <summary>
        /// 属性名称：MsgTaskId
        /// 属性描述：
        /// 字段信息：[MSG_TASK_ID],int
        /// </summary>
        [Column(Name="MSG_TASK_ID"),PK]
		public int MsgTaskId
        {
            get { return _msg_task_id; }
            set
            {
            
                {
                    _msg_task_id = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：ReceiverReallyAccount
        /// 属性描述：
        /// 字段信息：[RECEIVER_REALLY_ACCOUNT],nvarchar
        /// </summary>
        [Column(Name="RECEIVER_REALLY_ACCOUNT")]
		public string ReceiverReallyAccount
        {
            get { return _receiver_really_account; }
            set
            {
            
                if(value==null)return;
                if (_receiver_really_account as object == null || !_receiver_really_account.Equals(value))
                {
                    _receiver_really_account = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：MsgSendType
        /// 属性描述：
        /// 字段信息：[MSG_SEND_TYPE],nvarchar
        /// </summary>
        [Column(Name="MSG_SEND_TYPE"),PK]
		public string MsgSendType
        {
            get { return _msg_send_type; }
            set
            {
            
                if(value==null)return;
                if (_msg_send_type as object == null || !_msg_send_type.Equals(value))
                {
                    _msg_send_type = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：TaskStatus
        /// 属性描述：
        /// 字段信息：[TASK_STATUS],int
        /// </summary>
        [Column(Name="TASK_STATUS")]
		public int TaskStatus
        {
            get { return _task_status; }
            set
            {
            
                {
                    _task_status = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：TaskReallyStatus
        /// 属性描述：
        /// 字段信息：[TASK_REALLY_STATUS],int
        /// </summary>
        [Column(Name="TASK_REALLY_STATUS")]
		public int TaskReallyStatus
        {
            get { return _task_really_status; }
            set
            {
            
                {
                    _task_really_status = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：RuleConfigSeq
        /// 属性描述：
        /// 字段信息：[RULE_CONFIG_SEQ],int
        /// </summary>
        [Column(Name="RULE_CONFIG_SEQ")]
		public int RuleConfigSeq
        {
            get { return _rule_config_seq; }
            set
            {
            
                {
                    _rule_config_seq = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：SuccessedFlag
        /// 属性描述：
        /// 字段信息：[SUCCESSED_FLAG],char
        /// </summary>
        [Column(Name="SUCCESSED_FLAG")]
		public string SuccessedFlag
        {
            get { return _successed_flag; }
            set
            {
            
                if(value==null)return;
                if (_successed_flag as object == null || !_successed_flag.Equals(value))
                {
                    _successed_flag = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：FailedFalg
        /// 属性描述：
        /// 字段信息：[FAILED_FALG],char
        /// </summary>
        [Column(Name="FAILED_FALG")]
		public string FailedFalg
        {
            get { return _failed_falg; }
            set
            {
            
                if(value==null)return;
                if (_failed_falg as object == null || !_failed_falg.Equals(value))
                {
                    _failed_falg = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：NeedFlag
        /// 属性描述：
        /// 字段信息：[NEED_FLAG],char
        /// </summary>
        [Column(Name="NEED_FLAG")]
		public string NeedFlag
        {
            get { return _need_flag; }
            set
            {
            
                if(value==null)return;
                if (_need_flag as object == null || !_need_flag.Equals(value))
                {
                    _need_flag = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：MsgTitle
        /// 属性描述：
        /// 字段信息：[MSG_TITLE],nvarchar
        /// </summary>
        [Column(Name="MSG_TITLE")]
		public string MsgTitle
        {
            get { return _msg_title; }
            set
            {
            
                if(value==null)return;
                if (_msg_title as object == null || !_msg_title.Equals(value))
                {
                    _msg_title = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：MsgContent
        /// 属性描述：
        /// 字段信息：[MSG_CONTENT],nvarchar
        /// </summary>
        [Column(Name="MSG_CONTENT")]
		public string MsgContent
        {
            get { return _msg_content; }
            set
            {
            
                if(value==null)return;
                if (_msg_content as object == null || !_msg_content.Equals(value))
                {
                    _msg_content = value;
                }
             }
        }
  
        #endregion 
  
    }
}
